import request from '@/utils/request'

export default {
    getChild(id){
        return request({
            url: `/admin/dict/getList/${id}`,
            method: 'get'
          })
    },
    getDepInfo(){
        return request({
            url: `/admin/dict/getClassInfo`,
            method: 'get'
          })
    },
    getYearInfo(){
        return request({
            url: `/admin/dict/getYearInfo`,
            method: 'get'
          })
    },
    getClassNameInfo(id){
        return request({
            url: `/admin/dict/getClassNameInfo/${id}`,
            method: 'get'
          })
    },
    getClassNoInfo(){
        return request({
            url: `/admin/dict/getClassNoInfo`,
            method: 'get'
          })
    },
    getTeacherInfo(){
        return request({
            url: `/admin/user/teacher/getTeacherInfo`,
            method: 'get'
          })
    }
}